package org.web.accesscontrollist.sdk.biz;

import org.web.accesscontrollist.sdk.dto.AclUserResourceBindingDTO;
import org.web.accesscontrollist.sdk.dto.SaveUserResourceBindingBatchDTO;
import org.web.accesscontrollist.sdk.dto.query.QueryAclUserResourceBindingRequest;
import org.web.base.domain.ResultDO;

import java.util.List;

public interface AclUserResourceBindingBiz {

    /**
     * 批量保存 ACL 用户资源绑定信息
     *
     * @param saveUserResourceBindingBatchDTO 封装了需要保存的 ACL 用户资源绑定信息的请求对象.
     * @return resultDO 包含保存结果的结果对象.
     */
    ResultDO<List<AclUserResourceBindingDTO>> saveUserResourceBindingBatch(SaveUserResourceBindingBatchDTO saveUserResourceBindingBatchDTO);

    /**
     * 根据查询条件获取 ACL 用户资源绑定信息列表
     *
     * @param queryAclUserResourceBindingRequest 封装了查询条件的请求对象.
     * @return resultDO 包含 ACL 用户资源绑定信息列表的结果对象.
     */
    ResultDO<List<AclUserResourceBindingDTO>> selectAclUserResourceBindingList(QueryAclUserResourceBindingRequest queryAclUserResourceBindingRequest);
}
